﻿using System.Web.Mvc;

namespace PortalWeb.Areas.Flights
{
    public class WeixinAreaRegistration : AreaRegistration 
    {
        public override string AreaName 
        {
            get 
            {
                return "Weixin";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Weixin_default",
                "Admin/Weixin/{controller}/{action}/{id}",
                defaults: new {controller = "Home", action = "Index", id = UrlParameter.Optional},
                namespaces: new string[] { "PortalWeb.Areas.Weixin.Controllers" }
                );
        }
    }
}